<div class="row"><h3 class="page-header">教研室采购管理</h3></div>
<div class="row">
    <div class="panel panel-default">
        <div class="panel-body">
            <form action='{:U("Cggl/jyscggl")}' class="form-inline text-right fr m-b-5">
                系部名称：<input type="text" name='xibu' value='{$Think.get.xibu}' class="form-control mr20 w150" >
            </select>
                <button class="btn btn-primary" type="submit">搜索</button>
            </form>
            <div class="table-responsive">
                <table class="table table-striped table-bordered table-hover">
                    <thead>
                    <tr>
                        <th width="60">序号</th>
                        <th>系部</th>
                        <th>填报人</th>
                        <th>填报时间</th>
                        <th>类别</th>
                        <th>总金额</th>
                        <th>审核环节</th>
                        <th>审核情况</th>
                        <th  width="200">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                     <empty name="list">
                         <tr><td colspan="9" align="center">暂无信息</td></tr>
                     </empty>
                    <volist name="list" id="list">
                        <tr>
                            <td>{$i}</td>
                            <td>{$list.xibu}</td>
                            <td>{$list.user_name}</td>
                            <td>{$list.tianbaoshijian|date="Y-m-d H:i", ###}</td>
                            <td>{$list.category}</td>
                            <td>{$list.jine}</td>
                            <td>{$_act_show[$list['act_id']]}</td>
                            <td>{$_act_status[$list['status']]}</td>
                            <td>
                              <if condition="$list['act_id'] eq 1">
                               <a class="btn-sm btn btn-default" href='{:U("Cggl/jysshenhe?id=".$list["id"])}'>审核</a>
                                <a name="list.num" value="0">
                                <button data-url='{:U("Cggl/del?id=".$list["id"])}' class="btn btn-default btn-sm delBtn" type="button">删除</button>
                                </a>
                                </if>
                            </td>
                        </tr>
                    </volist>
                    </tbody>
                </table>
            </div>
            {$page}
        </div>
  </div>
</div>